#Rules{
	font-family: 'Helvetica Neue', sans-serif; 
	background: rgb(150,150,150);
	 border-radius:15px;
	min-width: 400px;
	width: 50%;
	position: fixed;
	  top: 50%;
	  left: 50%;
	  /* bring your own prefixes */
	  transform: translate(-50%, -50%);
	text-align: center;
	display: none;
}
#Quit, #QuitScreen{
	font-family: 'Helvetica Neue', sans-serif; 
	background: rgb(150,150,150);
	 border-radius:15px;
	min-width: 400px;
	width: 50%;
	position: fixed;
	  top: 50%;
	  left: 50%;
	  /* bring your own prefixes */
	  transform: translate(-50%, -50%);
	text-align: center;
	
	display: none;
}

#Gameover{
	font-family: 'Helvetica Neue', sans-serif; 
	background: rgb(150,150,150);
	border-radius:15px;
	min-width: 10em;
	max-width: 40em;
	margin: auto;
	left: 50%;
	text-align: center;
	display: none;
	z-index: 100;
}

p, h2{
	padding: 8px;
	margin: .5px;
	margin-right: 8px;
	margin-left: 8px;
}
 #OK, #yes, #no{
	 margin: 15px;
	 font-size: 16px;
 }
 

.buttons {
	-moz-box-shadow: 0px 1px 0px 0px #1c1b18;
	-webkit-box-shadow: 0px 1px 0px 0px #1c1b18;
	box-shadow: 0px 1px 0px 0px #1c1b18;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #eae0c2), color-stop(1, #ccc2a6));
	background:-moz-linear-gradient(top, #eae0c2 5%, #ccc2a6 100%);
	background:-webkit-linear-gradient(top, #eae0c2 5%, #ccc2a6 100%);
	background:-o-linear-gradient(top, #eae0c2 5%, #ccc2a6 100%);
	background:-ms-linear-gradient(top, #eae0c2 5%, #ccc2a6 100%);
	background:linear-gradient(to bottom, #eae0c2 5%, #ccc2a6 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eae0c2', endColorstr='#ccc2a6',GradientType=0);
	background-color:#eae0c2;
	-moz-border-radius:15px;
	-webkit-border-radius:15px;
	border-radius:15px;
	border:2px solid #333029;
	display:inline-block;
	cursor:pointer;
	color:#505739;
	max-width: 40em;
	font-family:Arial;
	font-size:14px;
	font-weight:bold;
	padding:4px 16px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.buttons:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ccc2a6), color-stop(1, #eae0c2));
	background:-moz-linear-gradient(top, #ccc2a6 5%, #eae0c2 100%);
	background:-webkit-linear-gradient(top, #ccc2a6 5%, #eae0c2 100%);
	background:-o-linear-gradient(top, #ccc2a6 5%, #eae0c2 100%);
	background:-ms-linear-gradient(top, #ccc2a6 5%, #eae0c2 100%);
	background:linear-gradient(to bottom, #ccc2a6 5%, #eae0c2 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ccc2a6', endColorstr='#eae0c2',GradientType=0);
	background-color:#ccc2a6;
}
.buttons:active {
	position:relative;
	top:1px;
}
/*
.ljccRules {
  visibility: hidden;
}

.ljccButton .ljccRules {
  visibility: hidden;
  position: absolute;
  bottom: 5%;
  left: 5%;
  right: 5%;
  background-color: #fff;
  padding: .5em;
}

.ljccButton:hover .ljccRules {
 	display:block
}*/
